package cn.iocoder.yudao.module.book.controller.admin.collections.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 绘本集新增/修改 Request VO")
@Data
public class CollectionsSaveReqVO {

    @Schema(description = "绘本集id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27291")
    private Integer collectionId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "封面")
    @NotEmpty(message = "封面不能为空")
    private String image;

    @Schema(description = "类别id")
    @NotNull(message = "类别id不能为空")
    private Integer classifyId;

    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    @NotEmpty(message = "描述不能为空")
    private String description;

    @Schema(description = "分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27291")
    @NotNull(message = "分类id不能为空")
    private Integer categoryId;

    @Schema(description = "是否为英文", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否为英文不能为空")
    private Integer isEnglish;

    @Schema(description = "是否置顶", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isTop;

}